﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Man.aspx.cs" Inherits="HuaProject.Web.Admin.Man" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <!--                       CSS样式                       -->
    <!-- Reset Stylesheet -->
    <link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
    <!-- Main Stylesheet -->
    <link rel="stylesheet" href="../css/Astyle.css" type="text/css" media="screen" />
    <!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid -->
    <link rel="stylesheet" href="../css/invalid.css" type="text/css" media="screen" />
    <!--                       Javascripts代码                       -->
    <script type="text/javascript" src="../Scripts/jquery-1.6.3.min.js"></script>
    <script type="text/javascript" src="../Scripts/simpla.jquery.configuration.js"></script>
    <script type="text/javascript" src="../Scripts/facebox.js"></script>
    <script type="text/javascript" src="../Scripts/jquery.wysiwyg.js"></script>
    <script type="text/javascript">
        jQuery(function () {
            var item = $("#main-nav ul a");
            var current = null;
            var pCurrent = null;
            item.bind("click", function () {
                if (current != null) current.removeClass("current");
                current = $(this);
                current.addClass("current");
            });

            $("#main-nav .nav-top-item").bind("click", function () {
                if (pCurrent != null) pCurrent.removeClass("current");
                pCurrent = $(this);
                pCurrent.addClass("current");
            });

        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="body-wrapper">
        <!-- Wrapper for the radial gradient background -->
        <div id="sidebar">
            <div id="sidebar-wrapper">
                <!-- 边栏：菜单与Logo -->
                <h1 id="sidebar-title">
                    <a href="#">Hua LED Admin</a></h1>
                <!-- Logo (221px wide) -->
                <a href="#">
                    <img id="logo" src="../Images/logo.png" alt="华翰灯饰" /></a>
                <!-- 登录信息 -->
                <div id="profile-links">
                    当前用户： <a href="#" title="">
                        <%=HuaProject.DAL.Users.GetNowLoginMo().Nike %></a><br />
                    <br />
                    <a href="Content.aspx" target="abs" title="首页">首页</a> | <a href="http://www.huahanled.com/"
                        target="_blank" title="访问前台">访问前台</a> |
                    <asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click">退出</asp:LinkButton>
                </div>
                <ul id="main-nav">
                    <!-- 手风琴菜单 -->
                    <li><a href="#" id="Mun-product" class="nav-top-item">
                        <!-- 对于当前选中的分类请添加样式名：current -->
                        商品管理 </a>
                        <ul>
                            <li><a href="ProductList.aspx" target="abs" id="ProductList">商品列表</a></li>
                            <li><a href="ProductAdd.aspx" target="abs" id="ProductAdd">添加商品</a></li>
                        </ul>
                    </li>
                    <li><a href="#" id="Mun-user" class="nav-top-item">用户管理 </a>
                        <ul>
                            <li><a id="UserList" onclick="che(this)" href="#">用户列表</a></li>
                            <li><a id="UserAdd" onclick="che(this)" href="#">添加用户</a></li>
                        </ul>
                    </li>
                </ul>
                <!-- End #main-nav -->
                <%--                <div id="messages" style="display: none">
                    <!-- 当点击某些链接，而这些链接中包含有：href="#messages" rel="modal" 则会在弹出框中显示出以下内容。注意里面的messages是这里的id  -->
                    <h3>
                        3 Messages</h3>
                    <p>
                        <strong>17th May 2009</strong> by Admin<br />
                        Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus magna. Cras in
                        mi at felis aliquet congue. <small><a href="#" class="remove-link" title="Remove message">
                            Remove</a></small>
                    </p>
                    <p>
                        <strong>2nd May 2009</strong> by Jane Doe<br />
                        Ut a est eget ligula molestie gravida. Curabitur massa. Donec eleifend, libero at
                        sagittis mollis, tellus est malesuada tellus, at luctus turpis elit sit amet quam.
                        Vivamus pretium ornare est. <small><a href="#" class="remove-link" title="Remove message">
                            Remove</a></small>
                    </p>
                    <p>
                        <strong>25th April 2009</strong> by Admin<br />
                        Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus magna. Cras in
                        mi at felis aliquet congue. <small><a href="#" class="remove-link" title="Remove message">
                            Remove</a></small>
                    </p>
                    <form action="#" method="post">
                    <h4>
                        New Message</h4>
                    <fieldset>
                        <textarea class="textarea" name="textfield" cols="79" rows="5"></textarea>
                    </fieldset>
                    <fieldset>
                        <select name="dropdown" class="small-input">
                            <option value="option1">Send to...</option>
                            <option value="option2">Everyone</option>
                            <option value="option3">Admin</option>
                            <option value="option4">Jane Doe</option>
                        </select>
                        <input class="button" type="submit" value="Send" />
                    </fieldset>
                    </form>
                </div>--%>
                <!-- End #messages -->
            </div>
        </div>
        <!-- End #sidebar -->
        <div id="main-content" style="position: absolute; left: 0px; right: 0px; top: 0px;
            bottom: 0px;">
            <iframe name="abs" src="Content.aspx" style="width: 100%; height: 100%;"></iframe>
        </div>
        <!-- End #main-content -->
    </div>
    </form>
</body>
</html>
